package com.hjxr.sysadmin.zsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 用户产业对象 user_project
 *
 * @author hjxr
 * @date 2021-04-16
 */
public class UserProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long userProjectId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    public void setUserProjectId(Long userProjectId)
    {
        this.userProjectId = userProjectId;
    }

    public Long getUserProjectId()
    {
        return userProjectId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userProjectId", getUserProjectId())
            .append("userId", getUserId())
            .append("projectId", getProjectId())
            .toString();
    }
}
